home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2009 February / PCWFEB09.iso / Software / Linux / Kubuntu 8.10 / kubuntu-8.10-desktop-i386.iso / casper / filesystem.squashfs / etc / acpi / thinkpad-brightness-down.sh < prev    next >
Linux/UNIX/POSIX Shell Script  |  2008-10-14  |  266b  |  15 lines

  1. #!/bin/sh
  2.  
  3. test -f /usr/share/acpi-support/key-constants || exit 0
  4.  
  5. manufacturer=`dmidecode --string system-manufacturer`
  6. case "$manufacturer" in
  7.     LENOVO*)
  8.     exit
  9.     ;;
  10.     *)
  11.     . /usr/share/acpi-support/key-constants
  12.     acpi_fakekey $KEY_BRIGHTNESSDOWN
  13.     ;;
  14. esac
  15.